package cn.edu.ctbu.lab.dao;

import cn.edu.ctbu.lab.domain.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentRepository extends JpaRepository<Student,Integer> {


    List<Student> findByNoAndPassword(String name, String password);

//    List<Student> findByNameAndSex(String name, Long sex);
//
//    List<Student> findByMaxName();
}
